package com.mvc.service;

import com.mvc.model.Car;
import com.mvc.request.ReqCarAdd;
import com.mvc.request.ReqCarDelete;
import com.mvc.request.ReqCarPage;
import com.mvc.request.ReqCarQPage;
import com.mvc.request.ReturnData;
import com.mvc.response.RspPage;


public interface CarService {

	ReturnData<Boolean> add(ReqCarAdd req);
	ReturnData<Boolean> delete(ReqCarDelete req);
	
    //获取最新列表-找车列表-找人列表-我发布的列表
	ReturnData<RspPage<Car>> queryPage(ReqCarPage req);

	  //获取条件搜索列表
	ReturnData<RspPage<Car>> querPage(ReqCarQPage req);
}
